WordPress\TumblrImporter\Tumblr_Import D

Total Complexity 212
Dependencies 2
Dependents 1
Total lines 1,549
Lines of code 981
Logical lines of code 708
Comment lines 341
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
fetch_posts()
C
27
27 138
show_blogs()
B
34 14 86
do_blog_import()
B
40 15 61
do_posts_import()
A
38 14 67
start()
A
46 16 34
start_blog_import()
A
43 11 46
do_drafts_import()
A
43 11 46
do_queued_import()
A
43 11 46
handle_sideload_import()
A
44 8 46
do_pages_import()
S
48 7 30
greet()
S
44 6 40
fetch_pages()
S
48 6 34
check_permissions()
S
48 5 31
get_blogs()
S
49 4 29
oauth_get_request()
S
53 4 22
check_credentials()
S
55 4 20
handle_sideload_video_post()
S
55 4 18
handle_sideload_audio_post()
S
56 4 16
handle_sideload_image_post()
S
58 4 14
handle_sideload_gallery_post()
S
61 4 12
oauth_get_request_token()
S
56 3 17
oauth_signature()
S
56 3 16
handle_sideload()
S
64 3 10
sanitize_blog_url()
S
65 3 9
filter_format_post()
S
62 3 10
tumblr_importer_metadata()
S
67 3 7
filter_allow_empty_content()
S
70 3 6
urlencode_rfc3986()
S
64 3 9
saved_info_display()
S
58 1 17
handle_sideload_post_update()
S
63 1 11
__construct()
S
64 1 9
tumblr_importer_init()
S
81 1 3
instructions()
S
69 1 6
restart()
S
71 1 6
get_draft_post_type()
S
82 1 3
get_queued_post_type()
S
82 1 3
get_consumer_key()
S
82 1 3